function SceneScene4(options) {
	this.options = options;
	

}

SceneScene4.prototype.initialize = function () {
	alert("SceneScene4.initialize()");
	// this function will be called only once when the scene manager show this scene first time
	// initialize the scene controls and styles, and initialize your variables here 
	// scene HTML and CSS will be loaded before this function is called
    this.container = GlobalContainer[0];
	$('#svecButton_NMBD').sfButton({text:'<', width:'40px'});
	$('#svecLabel_IFBE').sfLabel({text:'100', width:'40px'});
	$('#svecButton_I0XT').sfButton({text:'>', width:'40px'});
	$('#svecLabel_4NZ5').sfLabel({text:'Brutalnosc', width:'100px'});
	$('#svecButton_JE7E').sfButton({text:'<', width:'40px'});
	$('#svecLabel_UABG').sfLabel({text:'100', width:'40px'});
	$('#svecButton_FC2L').sfButton({text:'>', width:'40px'});
	$('#svecLabel_L5XO').sfLabel({text:'Romans', width:'100px'});
	$('#svecButton_K0LK').sfButton({text:'<', width:'40px'});
	$('#svecLabel_7CT9').sfLabel({text:'100', width:'40px'});
	$('#svecButton_SZN3').sfButton({text:'>', width:'40px'});
	$('#svecLabel_WZA6').sfLabel({text:'Humor', width:'100px'});

	var cont = new UserControlGroup('movie UCG',1,3);
    cont.wrapFocus(true);
    cont.registerObject(new FuzzyUserControl($('#svecLabel_4NZ5'),$('#svecButton_NMBD'),$('#svecLabel_IFBE'),$('#svecButton_I0XT')),0,0);
    cont.registerObject(new FuzzyUserControl($('#svecLabel_L5XO'),$('#svecButton_JE7E'),$('#svecLabel_UABG'),$('#svecButton_FC2L')),1,0);
    cont.registerObject(new FuzzyUserControl($('#svecLabel_WZA6'),$('#svecButton_K0LK'),$('#svecLabel_7CT9'),$('#svecButton_SZN3')),2,0);
    var sc = $.sfScene.get('Scene3');
    sc.buttonContainer.registerObject(cont,1,0);
}




SceneScene4.prototype.handleShow = function () {
	alert("SceneScene4.handleShow()");
	// this function will be called when the scene manager show this scene 
}

SceneScene4.prototype.handleHide = function () {
	alert("SceneScene4.handleHide()");
	// this function will be called when the scene manager hide this scene  
}

SceneScene4.prototype.handleFocus = function () {
	alert("SceneScene4.handleFocus()");
	// this function will be called when the scene manager focus this scene
}

SceneScene4.prototype.handleBlur = function () {
	alert("SceneScene4.handleBlur()");
	// this function will be called when the scene manager move focus to another scene from this scene
}

SceneScene4.prototype.handleKeyDown = function (keyCode) {
	alert("SceneScene4.handleKeyDown(" + keyCode + ")");
	// TODO : write an key event handler when this scene get focued
	  if(this.container != null)
        this.container.handleInput(keyCode);
}
